//AMD模块，需申请声明依赖
define(['common', 'hashchange', 'jqueryCookie', 'json2'], function(){
	
	alert('iefix');
	
	var browser = navigator.appName;
	var version = navigator.appVersion.split(";")[1].replace(/[ ]/g,"");
	var protocol = location.protocol;
	//判断是否为IE6-9
	if(browser=="Microsoft Internet Explorer"){
		//判断具体IE版本号
		switch (version){
			case "MSIE6.0": browerVer = 6;
			break;
			case "MSIE7.0": browerVer = 7;
			break;
			case "MSIE8.0": browerVer = 8;
			break;
			case "MSIE9.0": browerVer = 9;
			break;
			default: browerVer = '';
	   }
		browerVerNum = browerVer;
		browerVer = 'ie' + browerVer;
		//为HTML增加class="ie"
		document.documentElement.className+=' ie';
		//为HTML增加class="ie*"
		document.documentElement.className+=' '+browerVer;
		//加载浏览器特性检测，及加载相应补丁
		if(browerVerNum <= 9){
			require(['placeholder']);
			if(browerVerNum <= 8){
				require(['respond', 'selectivizr', 'excanvas']);
				if(protocol=='file:'){
					// alert('respond.js、selectivizr.js需要在http协议中才可生效');
					layer.msg('respond.js、selectivizr.js需要在http协议中才可生效');
				}
				if(browerVerNum <= 7){
//						require(['无']);
					if(browerVerNum <= 6){
						require(['iepng', 'ie6up'], function(){
							//指定特定dom修复png
							DD_belatedPNG.fix('.iepng');
						});

					}
				}
			}
		}
	} 
	
})